#ifndef _CALLBACK_H_
#define _CALLBACK_H_
#include"recoProxy.h"
#ifdef __cplusplus
extern "C" {
#endif

void cbProcessVadRes(void* pProxyInst, unsigned char * pData, int iLen, vadVars* pVars)
{
	recoProxy* pRecoProxyInst = static_cast<recoProxy*> (pProxyInst);
	pRecoProxyInst->processVadRes(pData,iLen,pVars);	
}
void cbProcessVadClose(void* pProxyInst)
{
	recoProxy* pRecoProxyInst = static_cast<recoProxy*> (pProxyInst);
	pRecoProxyInst->processVadClose();
}
void cbUpdateTime(void* pProxyInst, int iType, int iTime)
{
	recoProxy* pRecoProxyInst = static_cast<recoProxy*> (pProxyInst);
	pRecoProxyInst->updateTime(iType,iTime);
}
#ifdef __cplusplus
}
#endif
#endif
